package com.exam.controller;

import com.exam.pojo.vo.TrafficSignVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.exam.service.ITrafficSignService;

import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;

import java.util.List;

@RestController
@RequestMapping("/trafficSign")
@Api(tags = "交通标志")
@RequiredArgsConstructor
public class TrafficSignController {

  private final ITrafficSignService trafficSignService;

  @GetMapping("/list")
  @ApiOperation("查询交通标志列表")
  public List<TrafficSignVO> list(){
    return trafficSignService.list();
  }
}
